package com.ruoyi.basic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.basic.domain.TbExchangeRate;
import com.ruoyi.basic.domain.TbMonthlyExchangeRate;

import java.util.List;

/**
 * 汇率Service接口
 * 
 * @author ruoyi
 * @date 2022-10-26
 */
public interface ITbMonthlyExchangeRateService extends IService<TbMonthlyExchangeRate>
{
    /**
     * 列表
     * @param tbMonthlyExchangeRate
     * @return
     */
    List<TbMonthlyExchangeRate> listByCondition(TbMonthlyExchangeRate tbMonthlyExchangeRate);

    int saveRate(TbMonthlyExchangeRate tbMonthlyExchangeRate);

    int updateRate(TbMonthlyExchangeRate tbMonthlyExchangeRate);

    boolean deleteByIds(String ids);

    List<TbMonthlyExchangeRate> listByMonth(String month);

    String checkRateMonth(TbMonthlyExchangeRate tbMonthlyExchangeRate);

    TbMonthlyExchangeRate getByFromTo(String from,String to,String rateMonth);
}


